﻿using System;

namespace _003_预定义类型示例
{
    class Program
    {
        static void Main(string[] args)
        {
            string message = "Hello world";
            string upperMessage = message.ToUpper();
            Console.WriteLine(upperMessage); // HELLO WORLD

            int x = 2010;
            message = message + x.ToString();
            Console.WriteLine(message); // Hello world2010

            bool simpleVar = false;
            if (simpleVar)
                Console.WriteLine("This will not print");

            int y = 5000;
            bool lessThanAMile = y < 5280;
            if (lessThanAMile)
                Console.WriteLine("This will print");
        }
    }
}